package com.his.registration.service.impl;

import com.his.registration.mapper.SettleCategoryMapper;
import com.his.registration.service.SettleCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service.impl
 * @Author: ZhangYing
 * @Date: 2023/7/1 15:28
 * @Description:
 */
@Service
public class SettleCategoryServiceImpl implements SettleCategoryService {
    @Autowired
    private SettleCategoryMapper settleCategoryMapper;
    @Override
    public List<String> select() {
        return settleCategoryMapper.select();
    }

    @Override
    public int getIdByName(String settleName) {
        return settleCategoryMapper.getIdByName(settleName);
    }
}
